package com.naxian.vo;

import com.naxian.pojo.Company;
import com.naxian.pojo.CompanyReceived;
import com.naxian.pojo.Recruit;
import com.naxian.pojo.Resumes;

import java.util.List;

public class MyApplication {
    private Company company;
    private Recruit recruit;
    private CompanyReceived companyReceived;

    private Resumes resumes;
    private List<MyApplicationVO> myApplicationVOList;

    public MyApplication(List<MyApplicationVO> myApplicationVOList) {
        this.myApplicationVOList = myApplicationVOList;
    }

    public MyApplication(){}
    public MyApplication(Company company, Recruit recruit, CompanyReceived companyReceived) {
        this.company = company;
        this.recruit = recruit;
        this.companyReceived = companyReceived;
    }

    public Resumes getResumes() {
        return resumes;
    }

    public List<MyApplicationVO> getMyApplicationVOList() {
        return myApplicationVOList;
    }

    public void setMyApplicationVOList(List<MyApplicationVO> myApplicationVOList) {
        this.myApplicationVOList = myApplicationVOList;
    }

    public void setResumes(Resumes resumes) {
        this.resumes = resumes;
    }

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    public Recruit getRecruit() {
        return recruit;
    }

    public void setRecruit(Recruit recruit) {
        this.recruit = recruit;
    }

    public CompanyReceived getCompanyReceived() {
        return companyReceived;
    }

    public void setCompanyReceived(CompanyReceived companyReceived) {
        this.companyReceived = companyReceived;
    }

    @Override
    public String toString() {
        return "MyApplication{" +
                "company=" + company +
                ", recruit=" + recruit +
                ", companyReceived=" + companyReceived +
                ", resumes=" + resumes +
                ", myApplicationVOList=" + myApplicationVOList +
                '}';
    }
}
